<include file="header" />
<div class="wraper normal" js="wapjs/meeting/js/choiceroom">
	<div class="head clearfix">
		<a href="{BEESCRM::U('/Meeting/MeetingInvite/addInviteMeeting',array('step' => 'four','account_id' => $accountId))}" class="iconfont icon-zuo"></a>
		<span class="head-name">预约会议室</span>
	</div>
	<div class="lists notopblock">
		<p class="title">会议室情况简介</p>
		<p class="text-gray">会议室名称：{BEESCRM:$roomInfo['0']['room_name']}</p>
		<p class="text-gray">类型：
			<if condition="$roomInfo['0']['room_type'] eq 1"> 大型会议室</if>
			<if condition="$roomInfo['0']['room_type'] eq 2"> 中型会议室</if>
			<if condition="$roomInfo['0']['room_type'] eq 3"> 小型会议室</if>
			<if condition="$roomInfo['0']['room_type'] eq 4"> 报告厅</if>
			<if condition="$roomInfo['0']['room_type'] eq 5"> 教室</if>
		</p>
		<p class="text-gray">区域：<if condition="$roomInfo['0']['area'] eq 1">下沙</if><if condition="$roomInfo['0']['area'] eq 2">仓前</if></p>
		<p class="text-gray">最多容纳人数：{BEESCRM:$roomInfo['0']['capacity']}人</p>
		<p class="text-gray"><span class="iconfont icon-ditu"></span>{BEESCRM:$roomInfo['0']['address']}</p>
	</div>
	<div class="tab tab-three topblock text-12 clearfix">
		<foreach name="showDate" item="vo">
			<a href="{BEESCRM::U('/Meeting/MeetingInvite/roomDetail',array('account_id' => $accountId,'meeting_room_id' => $meetingRoomId,'select_time' => $vo))}" class="tab-list <if condition='$selectTime eq $vo'>visited</if> ">{BEESCRM:$vo|date="Y年m月d日",###}</a>
		</foreach>
	</div>
	<div class="color-box bordertopnone text-12">
		<div class="color-list"><span class="color-block bg-white"></span>可预约</div>
		<div class="color-list"><span class="color-block bg-grey"></span>不可预约</div>
	</div>
	<div class="time-box clearfix">
		<div class="part-hide control">
			<foreach name="roomServiceCondition" item="vo" key="key">
				<a href="#" class="time-block <php>if($vo['start_time'] >= $data['start_time'] && $vo['start_time'] <= $data['end_time']){ echo "bg-green";}else{echo $vo['class'];}</php>" start_time="{BEESCRM:$vo.start_time}" end_time="{BEESCRM:$vo.end_time}">
					<p>{BEESCRM:$vo.start_time|date="H:i",###}</p>
					<p>{BEESCRM:$vo.end_time|date="H:i",###}</p>
				</a>
			</foreach>
		</div>
		<a href="#" class="moreorless iconfont icon-zhankai text-center"></a>
	</div>

	<p class="blobk-title text-12">会议服务</p>

	<div class="lists">
		<foreach name="deviceData" item="vo" key="key">
			<div class="list-line">
				<p class="title"><if condition="$key eq 1">设施设备</if><if condition="$key eq 2">物业服务</if><if condition="$key eq 3">其他</if></p>
				<div class="clearfix text-12">
					<foreach name="vo" item="v">
						<div class="option-list">{BEESCRM:$v.device_name}:<input class="device" name="device" v="{BEESCRM:$v.device_id}" value="{BEESCRM:$data['device'][$v['device_id']] ? $data['device'][$v['device_id']] :0}"/></div>
					</foreach>
				</div>
			</div>
		</foreach>
	</div>

	<div class="btn-box clearfix">
		<input type="hidden" id="accountId" value="{BEESCRM:$accountId}">
		<input type="hidden" id="meeting_room_id" value="{BEESCRM:$meetingRoomId}">
		<a href="javascript:void(0)" v="1" class="btn half-btn bg-white">保存草稿</a>
		<a href="javascript:void(0)" v="0" class="btn half-btn bg-green">提交并发布</a>
	</div>
</div>
<script type="text/javascript" src="/assets/public/seajs/sea.js"></script>
<script enter="publicjs/public" id="confnode" async="async" src="/assets/public/config.js"></script>
<include file="footer" />